]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Include errors in what we print out without -v
authorOwen Taylor <otaylor@src.gnome.org>
Sun, 2 Nov 2008 03:27:11 +0000 (03:27 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 2 Nov 2008 03:27:11 +0000 (03:27 +0000)
Change the debug topics in the non-verbose case from just
JS LOG to JS LOG and JS ERROR.

svn path=/trunk/; revision=21

scripts/launcher.py

index a52e372914b2da4d8083320e45427bfc13f01edb..a45fc5f9b6e5657a761a7035c3516e7532327cb6 100644 (file)
@@ -66,9 +66,9 @@ class Launcher:
             env['LIBGL_ALWAYS_INDIRECT'] = '1'
 
         if not self.options.verbose:
-            # Unless verbose() is specified, only let gjs log things that are explicit log()
-            # commands form javascript
-            env['GJS_DEBUG_TOPICS'] = 'JS LOG'
+            # Unless verbose() is specified, only let gjs show errors and things that are
+            # explicitly logged via log() from javascript
+            env['GJS_DEBUG_TOPICS'] = 'JS ERROR;JS LOG'
 
         if self.options.debug:
             args = list(self.debug_command)